package vue.components;

import java.awt.Color;

public class ListItem implements Comparable<ListItem>{
	 public Color color;
     public String value;

     public ListItem(Color c, String s) {
         color = c;
         value = s;
     }

	@Override
	public int compareTo(ListItem o) {
		if (o.color == color)
			return 0;
		else
			return -1;
	}
}
